import axios from 'axios'

const vip = {
    getAllMembers(){
        return axios({
            url:"/member/getAllMembers"
        })
    },
    delMember(data){
        return axios({
            url:"/member/delMember",
            method: 'POST',
            data
        })
    },
    updateMemberToVip(data){
        return axios({
            url:"/member/updateMemberToVip",
            method: 'POST',
            data
        })
    },
    cancleMember(data){
        return axios({
            url:"/member/cancleMember",
            method: 'POST',
            data
        })
    },
}

export default vip